<?php /* Smarty version 2.6.18, created on 2010-10-25 09:41:09
         compiled from bao_tri_par_lstdepttobrn.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => ' ')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="14%"><input name="button" type="button" class="button_style" onclick="history.back();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" /></td>
<td align="right" nowrap="nowrap"><select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
  
 <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      
  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
  
 	<?php endforeach; endif; unset($_from); ?>

</select>
  <input name="chuyentrang" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_SEQNO']; ?>
</td>
    <td ><input name="SEQNO" id="SEQNO" type="text" value="<?php echo $this->_tpl_vars['SEQNO']; ?>
" size="20" maxlength="10" style="background-color:<?php echo $this->_tpl_vars['colorSEQNO']; ?>
; text-align:right" onkeypress="return numberOnly(event);" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readonly" <?php endif; ?>/>
      <input id="replacement_find" type="submit" name="find" value="    "  height="15"/></td>
    </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_OLDBRN']; ?>
</td>
    <td ><span style="color:#FF0000">
      <input name="OLDBRN" id="OLDBRN" type="text" style="background:<?php echo $this->_tpl_vars['colorOLDBRN']; ?>
" value="<?php echo $this->_tpl_vars['OLDBRN']; ?>
" size="20" maxlength="3" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');document.getElementById('findOLDBRN').click();" onkeypress="return numberOnly(event);" onchange="document.getElementById('findOLDBRN').click();" />
    </span><span style="color:#FF0000">
      <input type="button" onclick="mywindow = window.open('par_lstdepttobrn_id.php?name=OLDBRN', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd" id="replacement_binoculars" value="     " />
      </span>
      <input type="submit" name="findOLDBRN" id="findOLDBRN" style="visibility:hidden"/></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_DEPTCD']; ?>
</td>
    <td  ><select name="DEPTCD"  id="DEPTCD"  size="1" style="background:<?php echo $this->_tpl_vars['colorDEPTCD']; ?>
">
      <option value=""/></option>
      </option>
        		
 		<?php $_from = $this->_tpl_vars['cbo_DEPTCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
        
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['DEPTCD'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
      
 		<?php endforeach; endif; unset($_from); ?>
      
    </select></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_NEWBRN']; ?>
</td>
    <td  ><span style="color:#FF0000">
      <input name="NEWBRN" id="NEWBRN" type="text" style="background:<?php echo $this->_tpl_vars['colorNEWBRN']; ?>
" value="<?php echo $this->_tpl_vars['NEWBRN']; ?>
" size="20" maxlength="3" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');document.getElementById('findNEWBRN').click();" onkeypress="return numberOnly(event);" onchange="document.getElementById('findNEWBRN').click();"/>
    </span><span style="color:#FF0000">
      <input type="button" onclick="mywindow = window.open('par_lstdepttobrn_id.php?name=NEWBRN', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd2" id="replacement_binoculars" value="     " />
      </span>
      <input type="submit" name="findNEWBRN" id="findNEWBRN" style="visibility:hidden" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_NEWDEPT']; ?>
</td>
    <td  ><select name="NEWDEPT"  id="NEWDEPT"  size="1" style="background:<?php echo $this->_tpl_vars['colorNEWDEPT']; ?>
" >
      <option value=""/></option>
           		
 		<?php $_from = $this->_tpl_vars['cbo_NEWDEPT']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>     
      
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['NEWDEPT'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
         
 		<?php endforeach; endif; unset($_from); ?>  
    
    </select></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_REMARK']; ?>
</td>
    <td  ><input name="REMARK" id="REMARK" type="text" value="<?php echo $this->_tpl_vars['REMARK']; ?>
" size="50" maxlength="200" style="background-color:<?php echo $this->_tpl_vars['colorREMARK']; ?>
;"></td>
  </tr>  
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
 
  <tr>
    <td colspan="2" align="right" nowrap="nowrap"><div align="left">
      <input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="detail" type="submit" value="<?php echo $this->_tpl_vars['ten_chitiet']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input value="<?php echo $this->_tpl_vars['lbl_lichsuthaydoi']; ?>
" name="lichsuthaydoi" type="button" class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" onclick="mywindow = window.open('lich_su_par_lstdepttobrn.php?SEQNO=<?php echo $this->_tpl_vars['SEQNO']; ?>
', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" />
    </div></td>
    </tr>
  <tr>
    <td align="right" nowrap="nowrap"><div align="left">
      <input name="button2" type="button" class="button_style" onclick="history.back();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" />
    </div></td>
    <td align="right" nowrap="nowrap"><input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'SEQNO');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?> class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
  </tr>
  <tr>
<td colspan="2" align="right" nowrap="nowrap"><select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
  
  <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      
  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
  
 	<?php endforeach; endif; unset($_from); ?>

</select>
  <input name="chuyentrang1" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
  </tr>
</table>
</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>